#pragma once

#include <cppwinks/network/http/Http.h>
#include <util/HttpUriRegistrar.h>
#include <util/MSingletonFactory.h>

class FileSystemController
{
public:
    network::HttpReply uploadImage(const network::HttpRequest &req);
    network::HttpReply getImage(const network::HttpRequest &req);
};

Singleton(FileSystemController);
PostMapping("/file_system/upload", FileSystemController, uploadImage);
GetMapping("/file_system/get", FileSystemController, getImage);
